import request from "@/utils/request";

// 宠物寻主
export function fetchList(params) {
  return request({
    url: "/find_masters/index",
    method: "get",
    params
  });
}

export function exportExcel(params) {
  return request({
    url: "/find_masters/export",
    method: "get",
    params
  });
}

export function getInfo(params) {
  return request({
    url: "/find_masters/read",
    method: "get",
    params
  });
}

export function setIsShow(params) {
  return request({
    url: "/find_masters/set_is_show",
    method: "get",
    params
  });
}

export function remove(params) {
  return request({
    url: "/find_masters/delete",
    method: "get",
    params
  });
}

export function update(data) {
  return request({
    url: "/find_masters/update",
    method: "post",
    data
  });
}

export function getComments(params) {
  return request({
    url: "/find_masters/comments",
    method: "get",
    params
  });
}
